<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>GESTIONE DIPENDENTI</title>
<script type="text/javascript" src="js/immagini.js"></script>
</head>

<body>
<table width="700" height="422" border="0" align="center">
  <tr>
    <td align="center" valign="middle"></td>
  </tr>
  <tr>
    <td height="257" align="center" valign="top"><table width="100%" border="0">
      <tr>
        <td align="center"><div align="left">
          <p class="style3">
          
          <%  
		
			if (session.getAttribute("user")==null)
			response.sendRedirect("loginerr.jsp");
			
			else
			{
	
			String user = session.getAttribute("user").toString();
			String type = session.getAttribute("type").toString();
			String matr = session.getAttribute("matricola").toString();
			String nome = session.getAttribute("nome").toString();
			String cogn = session.getAttribute("cognome").toString();
			}
		%>
		  </p>
        </div></td>
        </tr>
      <tr>
        <td ><p align="center"><strong>SELEZIONA UN OPZIONE  </strong></p></td>
        </tr>
      <tr>
        <td ><div align="center">
          	<table width="100%" border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td><div align="center"> <img src="../../images/once/Friends.png" alt="5" name="btnAccount" width="48" height="48"
						 onClick="location.href='nuovo_dipendente.jsp'"
						 onMouseOver="resize(btnAccount,56);"
						 onMouseOut ="loadImg(btnAccount,'../../images/once/Friends.png');"
					></div></td>
                <td><div align="center"> <img src="../../images/once/Notebook.png" alt="1" name="btnDipendente" width="48" height="48"
						 onClick="location.href='gestione_dipendente.jsp'"
						 onMouseOver="resize(btnDipendente,56);"
						 onMouseOut ="loadImg(btnDipendente,'../../images/once/Notebook.png');"
					></div></td>
                <td><div align="center"> <img src="../../images/Crystal/users/png/48.png" alt="6" name="btnGruppo" width="48" height="48"
						 onClick="location.href='account_dip.jsp'"
						 onMouseOver="resize(btnGruppo,56);"
						 onMouseOut ="loadImg(btnGruppo,'../../images/Crystal/users/png/48.png');"
					></div></td>
                <td><div align="center"> <img src="../../images/Crystal/notepad/png/48.png" alt="4" name = "btnBeni" width="48" height="48"
						 onClick="location.href='elenco_dipendenti.jsp?order=1'"
						 onMouseOver="resize(btnBeni,56);"
						 onMouseOut ="loadImg(btnBeni,'../../images/Crystal/notepad/png/48.png');"			
					></div></td>
                <td><div align="center"> <img src="../../images/once/Home.png" alt="2" name = "btnHome" width="48" height="48"
						 onClick="location.href='home_amministratore.jsp'"
						 onMouseOver="resize(btnHome,56);"
						 onMouseOut ="loadImg(btnHome,'../../images/once/Home.png');"
					></div></td>
              </tr>
              <tr>
                <td><div align="center"><span class="style6">NUOVO</span></div></td>
                <td><div align="center"><span class="style6">GESTIONE</span></div></td>
                <td><div align="center"><span class="style6">ACCOUNT</span></div></td>
                <td><div align="center"><span class="style6">ELENCO</span></div></td>
                <td><div align="center"><span class="style6">HOME</span></div></td>
              </tr>
            </table>
          	</td>
        </tr>
      <tr>
        <td class="style1">&nbsp;</td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="middle">&nbsp;</td>
  </tr>
  <tr>
    <td align="center" valign="middle" bgcolor="#000099"><div align="right" class="style4">GESTIONE DIPENDENTI  </div></td>
  </tr>
</table>
</body>
</html>
